package com.gui.collection.list;

import java.util.ArrayDeque;

public class ArrayDequeDemo {

    public static void main(String[] args) {
        ArrayDeque<String> arrayDeque = new ArrayDeque<>();
        arrayDeque.add("A");
        arrayDeque.add("B");
        arrayDeque.add("C");
        System.out.println(arrayDeque.peekFirst());
        System.out.println(arrayDeque.peekFirst());
        System.out.println(arrayDeque.peekFirst());
    }
}
